Allow kernel built with privileged operation support (e.g. -xen/-xen0) to be used...
authoriap10@firebug.cl.cam.ac.uk <iap10@firebug.cl.cam.ac.uk>
Thu, 29 Sep 2005 18:59:18 +0000 (19:59 +0100)
committeriap10@firebug.cl.cam.ac.uk <iap10@firebug.cl.cam.ac.uk>
Thu, 29 Sep 2005 18:59:18 +0000 (19:59 +0100)
Signed-off-by: ian@xensource.com
linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c

index cb0ffc9e51ff02f13b913e8b25b5fef522b497e9..3a090e24c10c1b12564361a46041363e0c590207 100644 (file)
@@ -771,11 +771,14 @@ void __init setup_arch(char **cmdline_p)
                                virt_to_mfn(&phys_to_machine_mapping[i]);
                }
                HYPERVISOR_shared_info->arch.max_pfn = max_pfn;
-               
-               
-
-
+       }
 
+       if ( ! (xen_start_info->flags & SIF_INITDOMAIN))
+       {
+               acpi_disabled = 1;
+#ifdef  CONFIG_ACPI_BOOT
+               acpi_ht = 0;
+#endif
        }
 #endif